export interface IStudent {
  id: string;
  name: string;
  gender: '男' | '女';
  studentId: string;
  grade?: string;
  class?: string;
}

export interface IStudentContext {
  students: IStudent[];
  addStudent: (student: Omit<IStudent, 'id'>) => void;
  updateStudent: (id: string, student: Partial<IStudent>) => void;
  deleteStudent: (id: string) => void;
  filteredStudents: IStudent[];
  setFilters: React.Dispatch<React.SetStateAction<{
    name: string;
    gender: string;
    studentId: string;
  }>>;
}